Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Effect Class / CreateCustom Method / CreateCustom<T>(DeviceContext) Method
The device context.

In This Topic
    CreateCustom<T>(DeviceContext) Method
    In This Topic
    Initializes a new instance of a custom Effect class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateCustom(Of T As ICustomEffect)( _
       ByVal deviceContext As DeviceContext _
    ) As Effect
    public static Effect CreateCustom<T>( 
       DeviceContext deviceContext
    )
    where T: ICustomEffect

    Parameters

    deviceContext
    The device context.

    Type Parameters

    T
    See Also